package com.want.buss.interfaces.po;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 
 * @author 00323357
 * @date   2019年1月15日
 */
@Document(collection = "MogoDBSequence")
public class MogoDBSequence {
 
	private String id;			     // 主键
 
	private String collectionName;	 // 集合名称

	private Long seqId;			     // 序列值

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCollectionName() {
		return collectionName;
	}

	public void setCollectionName(String collectionName) {
		this.collectionName = collectionName;
	}

	public Long getSeqId() {
		return seqId;
	}

	public void setSeqId(Long seqId) {
		this.seqId = seqId;
	}

	@Override
	public String toString() {
		return "MogoDBSequence [id=" + id + ", collectionName=" + collectionName + ", seqId=" + seqId + "]";
	}

}
